package com.nbicc.pojo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelIgnore;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName:
 * @Author: 仄言in
 * @Desctiption: (描述)
 * @Date: 2021/5/11 13:47
 * @Version 1.0 (版本)
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "recordinfo")
@ExcelTarget("record")
public class Record implements Serializable {
    @TableId(type = IdType.AUTO)
    @ExcelIgnore
    private Integer id;
    @Excel(name = "充值时间",format = "yyyy.MM.dd")
    private Date pptime;
    @Excel(name = "单位名称")
    private String unitname;
    @Excel(name = "充值金额")
    private BigDecimal sum;
}
